package returnTypes;

public class Size {
	private double length =0;
	private double height =0;
	private double width =0;
	
	
	public Size(double length, double height, double width) {
		super();
		this.length = length;
		this.height = height;
		this.width = width;
	}
	
	
	public Size(Size objectSize, int i) {
		this.length = objectSize.length*i;
		this.height = objectSize.height*i;
		this.width = objectSize.width*i;
	}

	public double getLength() {
		return length;
	}
	public void setLength(double length) {
		this.length = length;
	}
	public double getHeight() {
		return height;
	}
	public void setHeight(double height) {
		this.height = height;
	}
	public double getWidth() {
		return width;
	}
	public void setWidth(double width) {
		this.width = width;
	}
	public String toString() {
		return "Size [height=" + height + ", length=" + length + ", width="
				+ width + "]";
	}
}
